﻿//------------------------------------------------------------------------------
// <pcdd-entitiy>
//     Json序列化实体类库
//     应用初始化序列化对象
// </pcdd-entitiy>
//------------------------------------------------------------------------------

using System.Collections.Generic;

namespace CL.Json.Entity.WebAPI
{
    /// <summary>
    /// ApplyInitiateResult 对象
    /// 应用初始化回调
    /// </summary>
    public class ApplyInitiateResult : JsonResult
    {
        /// <summary>
        /// 令牌
        /// </summary>
        public string Token { set; get; }
        /// <summary>
        /// 系统总中奖金额
        /// </summary>
        public string SystemTotalWin { set; get; }
        /// <summary>
        /// 系统时间
        /// </summary>
        public string SystemTime { set; get; }
        /// <summary>
        /// 是否验证令牌
        /// </summary>
        public bool IsVerifyToken { set; get; }
        /// <summary>
        /// 彩种对象
        /// </summary>
        public List<LotteryData> LotteryData { set; get; }
        /// <summary>
        /// 登录对象
        /// </summary>
        public LoginData LoginData { set; get; }
        /// <summary>
        /// 应用广告对象
        /// </summary>
        public List<ApplyAd> ActivityData { set; get; }
    }
    /// <summary>
    /// LotteryData 对象
    /// 彩种内容
    /// </summary>
    public class LotteryData
    {
        /// <summary>
        /// 彩种编号
        /// </summary>
        public int LotteryCode { set; get; }
        /// <summary>
        /// 彩种名称
        /// </summary>
        public string LotteryName { set; get; }
        /// <summary>
        /// 彩种Icon地址
        /// </summary>
        public string LotteryIconUrl { set; get; }
        /// <summary>
        /// 副标题
        /// </summary>
        public string Subhead { set; get; }
        /// <summary>
        /// 加奖副标题
        /// </summary>
        public string AddawardSubhead { set; get; }
        /// <summary>
        /// 是否热门
        /// </summary>
        public bool IsHot { set; get; }
        /// <summary>
        /// 彩种状态
        /// </summary>
        public int LotteryStatus { set; get; }
        /// <summary>
        /// 群组编号
        /// </summary>
        public string ChatGroups { set; get; }
        /// <summary>
        /// 聊天室编号
        /// </summary>
        public string ChatRooms { set; get; }
    }
    /// <summary>
    /// LoginData 对象
    /// 登录内容
    /// </summary>
    public class LoginData
    {
        /// <summary>
        /// 令牌
        /// </summary>
        public string Token { set; get; }
        /// <summary>
        /// 会员编号
        /// </summary>
        public long UserCode { set; get; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string Nick { set; get; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string Mobie { set; get; }
        /// <summary>
        /// 余额
        /// </summary>
        public long Balance { set; get; }
        /// <summary>
        /// 彩豆
        /// </summary>
        public long Gold { set; get; }
        /// <summary>
        /// 是否机器人
        /// </summary>
        public bool IsRobot { set; get; }
        /// <summary>
        /// 头像地址
        /// </summary>
        public string AvatarUrl { set; get; }
        /// <summary>
        /// VIP等级
        /// </summary>
        public int VIP { set; get; }
        /// <summary>
        /// 等级
        /// </summary>
        public int Level { set; get; }
        /// <summary>
        /// 特别组
        /// </summary>
        public int SpecialGroup { set; get; }
        /// <summary>
        /// 实名认证
        /// </summary>
        public bool IsCertification { set; get; }
        public string FullName { set; get; }
        /// <summary>
        /// 是否设置体现密码
        /// </summary>
        public bool IsWithdrawPwd { set; get; }

        /// <summary>
        /// 彩券个数
        /// </summary>
        public int CouponsCount { set; get; }

        /// <summary>
        /// 对称加密的UUID
        /// </summary>
        public string Uid { set; get; }
    }
    /// <summary>
    /// ApplyAd 对象
    /// 应用广告内容
    /// </summary>
    public class ApplyAd
    {
        /// <summary>
        /// 广告地址
        /// </summary>
        public string ad { set; get; }

        /// <summary>
        /// 落地页地址
        /// </summary>
        public string page { set; get; }
    }
}
